package com.joecy.remote;

import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by summer on 2017/5/15.
 */
@Component
public class HelloRemoteFallback implements HelloRemote{
    @Override
    public String hello2(@RequestParam(value = "name") String name) {
        return "Sorry, the waiter two are unable to provide services to "+name+" at this time";
    }
}
